package com.wf.model.response;

import java.util.List;

/**
 * @author blackApple
 */
public class PageableObject<T> {

	private int page;
	private int pageSize;
	private int totalCount;
	private List<T> list;

	public PageableObject() {
	}

	public PageableObject(int totalCount, List<T> list) {
		this.totalCount = totalCount;
		this.list = list;
	}

	public int getPage() {
		return page;
	}
	
	public void setPage(int page) {
		this.page = page;
	}
	
	public int getPageSize() {
		return pageSize;
	}
	
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	
	public int getTotalCount() {
		return totalCount;
	}
	
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}
	
}